package com.yc.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yc.study.entity.Reply;
import com.yc.study.vo.ReplyVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author 王妍
 * @since 2022-02-20
 */
@Mapper
public interface ReplyMapper extends BaseMapper<Reply> {
  /** 查看回复列表 */
  List<ReplyVo> loadPageVo(Page<ReplyVo> page, Long answerId);
}
